<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $link_id 客服链接ID
 * @property int $robot_id 机器人ID
 * @property int $id 编号
 * @property int $is_show 是否展示（ 1  = 是，2  = 否）
 * @property int $sort 优先级
 * @property int $visit_limit 访问上限
 */
class ChCustomerServiceLinkRobotRelation extends MineModel
{
    public bool $incrementing = false;
    protected string $primaryKey = 'link_id';
    public bool $timestamps = false;
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_customer_service_link_robot_relation';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['link_id', 'robot_id', 'id', 'is_show', 'sort', 'visit_limit'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['link_id' => 'integer', 'robot_id' => 'integer', 'id' => 'integer', 'is_show' => 'integer', 'sort' => 'integer', 'visit_limit' => 'integer'];
}
